package com.jtny.nytb.equipment.vo.dataparam;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 记点频率
 *
 * @author 智慧能源中心 - 伍天宇
 * @package com.jtny.nytb.energymonitor.equipment.vo.dataparam
 * @fileName FrequencyVO.java
 * @createTime 2023年10月06日 22:50
 * @Copyright© 2023 jtny
 * 江投能源技术研究院 版权所有
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "FrequencyVO", description = "记点频率")
public class FrequencyVO implements Serializable {

    /**
     * 记点频率
     */
    @ApiModelProperty(value = "记点频率", required = true)
    @NotBlank(message = "记点频率不能为空")
    private Integer frequency;

    /**
     * 记点频率单位
     */
    @ApiModelProperty(value = "记点频率单位", required = true)
    @NotBlank(message = "记点频率单位不能为空")
    private String frequencyUnit;

}
